namespace KingerRobot.MexicoSailunMDC.Dao;
public partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// GT 入库信息 
    /// </summary>
    public DbSet<POMesProductInfo> MesProductInfos { get; set; }
}

[Table("mes_product_info")]
public class POMesProductInfo
{
    /// <summary>
    /// 主键[mes_product_info.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// GT 条码
    /// </summary>
    [Column("BCD_NO")]
    public string BCD_NO { get; set; }

    /// <summary>
    /// GT 物料编码
    /// </summary>
    [Column("TBM_SPEC")]
    public string TBM_SPEC { get; set; }

    /// <summary>
    /// GT 物料描述
    /// </summary>
    [Column("TBM_SPEC_DESC")]
    public string TBM_SPEC_DESC { get; set; }

    /// <summary>
    /// GT 生产版本
    /// </summary>
    [Column("TBM_SPEC_VER")]
    public string TBM_SPEC_VER { get; set; }

    /// <summary>
    /// GT 有效期
    /// </summary>
    [Column("TBM_EXPIRATION_TIME")]
    public DateTime? TBM_EXPIRATION_TIME { get; set; }

    /// <summary>
    /// 实验跟踪号
    /// </summary>
    [Column("TBM_PS")]
    public string TBM_PS { get; set; }

    /// <summary>
    /// 成型机号
    /// </summary>
    [Column("TBM_NO")]
    public string TBM_NO { get; set; }

    /// <summary>
    /// 生产日期
    /// </summary>
    [Column("PROD_DT")]
    public DateTime? PROD_DT { get; set; }

    /// <summary>
    /// 标准重量
    /// </summary>
    [Column("STD_WT")]
    public decimal? STD_WT { get; set; }

    /// <summary>
    /// 重量下限
    /// </summary>
    [Column("MIN_WT")]
    public decimal? MIN_WT { get; set; }

    /// <summary>
    /// 重量上限
    /// </summary>
    [Column("MAX_WT")]
    public decimal? MAX_WT { get; set; }

    /// <summary>
    /// 入库许可
    /// </summary>
    [Column("IN_PERMIT")]
    public string IN_PERMIT { get; set; }

    /// <summary>
    /// 创建日期
    /// </summary>
    [Column("REG_DT")]
    public DateTime? REG_DT { get; set; }


    /// <summary>
    /// 硫化机台
    /// </summary>
    [Column("RELATEEQUIPMENT")]
    public string RELATEEQUIPMENT { get; set; }

    /// <summary>
    /// GT 高度
    /// </summary>
    [Column("HEIGHT")]
    public decimal? HEIGHT { get; set; }
    /// <summary>
    /// 创建时间
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 可用性
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
}
